﻿using System.Runtime.Serialization;

namespace BlazorAdmin.Models
{
    [DataContract]
    public class UserLogin
    {
        [DataMember]
        public string UserName { get; set; }

        [DataMember]
        public string Password { get; set; }

        public string ClientIP { get; set; }

        public string UserAgent { get; set; }

        [DataMember]
        public bool IsRemember { get; set; }

        public int ExpirePeriod { get; set; }

        [DataMember]
        public string ReturnUrl { get; set; }

        [DataMember]
        public string DomainUrl { get; set; }

        [DataMember]
        public string AppId { get; set; }
    }
}
